Persistent Search Trees

نویسندگان

  • NEIL SARNAK
  • ROBERT E. TARJAN
چکیده

A classical problem in computational geometry is the planar point location problem. This problem calls for preprocessing a polygonal subdivision of the plane defined by n line segments so that, given a sequence of points, the polygon containing each point can be determined quickly on-line. Several ways of solving this problem in O(log n) query time and O(n) space are known, but they are all rather complicated. We propose a simple O(log f&query-time, O(n)-space solution, using persistent search trees. A persistent search tree differs from an ordinary search tree in that after an insertion or deletion, the old version of the tree can still be accessed. We develop a persistent form of binary search tree that supports insertions and deletions in the present and queries in the past. The time per query or update is O(log m), where m is the total number of updates, and the space needed is O(I) per update. Our planar point location algorithm is an immediate application of this data structure. The structure also provides an alternative to Chazelle’s “hive graph” structure, which has a variety of applications in geometric retrieval. 1. PLANAR POINT LOCATION Let us consider a classical geometric retrieval problem. Suppose the Euclidian plane is subdivided into polygons by n line segments’ that intersect only at ’ We regard a line or half-line as being a line segment. and an infinite region whose boundary consists of a finite number of line segments as being a

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Probabilistic analysis of the asymmetric digital search trees

In this paper, by applying three functional operators the previous results on the (Poisson) variance of the external profile in digital search trees will be improved. We study the profile built over $n$ binary strings generated by a memoryless source with unequal probabilities of symbols and use a combinatorial approach for studying the Poissonized variance, since the probability distribution o...

متن کامل

Profile and Height of Random Binary Search Trees

The purpose of this article is to survey recent results on distributional properties of random binary search trees. In particular we consider the profile and the height.

متن کامل

Partially Persistent Search Trees with Transcript Operations

When balanced binary search trees are made partially persistent using the node-copying method [5], the possibility of searching efficiently for information in the past is added to the system. The operations of updating the present version and searching in the present as well as in the past are asymptotically as efficient as in the corresponding normal (non-persistent) binary search tree. In dat...

متن کامل

P´olya Urn Models and Connections to Random Trees: A Review

This paper reviews P´olya urn models and their connection to random trees. Basic results are presented, together with proofs that underly the historical evolution of the accompanying thought process. Extensions and generalizations are given according to chronology: • P´olya-Eggenberger’s urn • Bernard Friedman’s urn • Generalized P´olya urns • Extended urn schemes • Invertible urn schemes ...

متن کامل

Persistent Su x Trees and Su x BinarySearch Trees as DNA Sequence

We constructed, stored on disk and reused suux trees and suux binary search trees for C. elegans chromosomes, and measured their performance using orthogonal persistence for Java (PJama). We compare our implementation with the performance of a transient 1 suux tree, and discuss the suitability of such indexes in pursuing our long-term goal of indexing large genomes. We identify the potential fo...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999